package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 叙词分类对象 sys_thesauri_word_category
 * 
 * @author ruoyi
 * @date 2022-08-23
 */
public class SysThesauriWordCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String categoryName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String categorySid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String parentId;

    /** 关联叙词表模块表 */
    @Excel(name = "关联叙词表模块表")
    private Long thesauriWordModuleId;

    @TableField(exist = false)
    private Object children;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setCategorySid(String categorySid) 
    {
        this.categorySid = categorySid;
    }

    public String getCategorySid() 
    {
        return categorySid;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setThesauriWordModuleId(Long thesauriWordModuleId) 
    {
        this.thesauriWordModuleId = thesauriWordModuleId;
    }

    public Long getThesauriWordModuleId() 
    {
        return thesauriWordModuleId;
    }

    public Object getChildren() {
        return children;
    }

    public void setChildren(Object children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryName", getCategoryName())
            .append("categorySid", getCategorySid())
            .append("parentId", getParentId())
            .append("thesauriWordModuleId", getThesauriWordModuleId())
            .toString();
    }
}
